Given a matrix
----------
----------
----------
----------
----XX----
----XXX---
----------
----------
----------
----------
When next generation
Then the matrix should look like
Given a matrix
----------
----------
----------
----------
----X-X---
----X-X---
-----X----
----------
----------
----------
